package com.smartleanx.module.hrm.service.esign.auth;

import com.alibaba.fastjson2.JSONObject;
import com.github.pagehelper.PageInfo;
import com.smartleanx.module.hrm.service.esign.bo.ElecCorpCreateBo;
import com.smartleanx.module.hrm.service.esign.bo.ElecCorpSelectBo;
import com.smartleanx.module.hrm.service.esign.bo.ElecCorpUpdateBo;
import com.smartleanx.module.hrm.service.esign.bo.OrgIdentifyBo;
import com.smartleanx.module.hrm.service.esign.vo.ElecCorpDetailVo;
import com.smartleanx.module.hrm.service.esign.vo.ElecCorpPermissionVo;
import com.smartleanx.module.hrm.service.esign.vo.ElecCorpSelectVo;
import com.smartleanx.module.hrm.service.esign.vo.OrgIdentifyVo;

import java.util.List;


/**
 * @author yanglihao
 */
public interface IElecCorpService {


    PageInfo<ElecCorpSelectVo> page(ElecCorpSelectBo param);


    List<JSONObject> selectList(ElecCorpSelectBo param);

    List<JSONObject> selectIdNameList();

    List<JSONObject> corpBySelect();

    ElecCorpPermissionVo permission(long corpId);

    ElecCorpDetailVo detail(long corpId);

    void create(ElecCorpCreateBo param);

    ElecCorpUpdateBo update(long corpId);

    void update(ElecCorpUpdateBo param);

    void remove(long corpId);

    OrgIdentifyVo identify(OrgIdentifyBo param);


    String selectAuthUrl(String orgId);


}
